package com.wbs.shop.nuby.bean;

/**
 * Created by zhoucl on 2017/12/25 0025.
 */

public class PayModeBean extends BaseBean {
    public static final int PAY_MODE_WX = 0;
    public static final int PAY_MODE_ALPAY = 2;
    public static final int PAY_MODE_BALANCE = 3;
    public static final int PAY_MODE_MONEY = 4;
    public static final int PAY_MODE_CARD = 5;
    private int icon;
    private String name;
    private String subName;
    private int paymode;
    private boolean check;

    public PayModeBean() {
    }

    public PayModeBean(int icon, String name, int paymode) {
        this.icon = icon;
        this.name = name;
        this.paymode = paymode;
    }

    public PayModeBean(int icon, String name, int paymode, boolean check) {
        this.icon = icon;
        this.name = name;
        this.paymode = paymode;
        this.check = check;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public String getName() {
        return name == null ? "" : name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSubName() {
        return subName == null ? "" : subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    public int getPaymode() {
        return paymode;
    }

    public void setPaymode(int paymode) {
        this.paymode = paymode;
    }

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }
}
